﻿using Newtonsoft.Json;
using System.Collections.Generic;

namespace Timeline.Beans {
    public class RankApiReq {
        [JsonProperty(PropertyName = "provider")]
        public string Provider { set; get; }

        [JsonProperty(PropertyName = "id")]
        public string Id { set; get; }

        [JsonProperty(PropertyName = "url")]
        public string Url { set; get; }

        [JsonProperty(PropertyName = "action")]
        public string Action { set; get; }

        [JsonProperty(PropertyName = "target")]
        public string Target { set; get; }

        [JsonProperty(PropertyName = "ver")]
        public string Version { set; get; }

        [JsonProperty(PropertyName = "region")]
        public string Region { set; get; }
    }

    public class UndoRankApiReq {
        [JsonProperty(PropertyName = "provider")]
        public string Provider { set; get; }

        [JsonProperty(PropertyName = "id")]
        public string Id { set; get; }

        [JsonProperty(PropertyName = "action")]
        public List<string> Actions { set; get; }
    }
}
